package com.mye.prometheusexportdcim.model.component;

/**
 * @author lixiang
 * @date 2021/6/11 17:09
 */
public class ComponentSignal {
    private int id;
    private int componentId;
    private String name;
    private String signalGroup;
    private ComponentPropertyType propertyType;
    private String description;
    private ComponentPropertyDataType dataType;
    private String enumConstant;
    private int precision;
    private String unit;
    private int pointIndex;
    private ComponentSignalType type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getComponentId() {
        return componentId;
    }

    public void setComponentId(int componentId) {
        this.componentId = componentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSignalGroup() {
        return signalGroup;
    }

    public void setSignalGroup(String signalGroup) {
        this.signalGroup = signalGroup;
    }

    public ComponentPropertyType getPropertyType() {
        return propertyType;
    }

    public void setPropertyType(ComponentPropertyType propertyType) {
        this.propertyType = propertyType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public ComponentPropertyDataType getDataType() {
        return dataType;
    }

    public void setDataType(ComponentPropertyDataType dataType) {
        this.dataType = dataType;
    }

    public String getEnumConstant() {
        return enumConstant;
    }

    public void setEnumConstant(String enumConstant) {
        this.enumConstant = enumConstant;
    }

    public int getPrecision() {
        return precision;
    }

    public void setPrecision(int precision) {
        this.precision = precision;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getPointIndex() {
        return pointIndex;
    }

    public void setPointIndex(int pointIndex) {
        this.pointIndex = pointIndex;
    }

    public ComponentSignalType getType() {
        return type;
    }

    public void setType(ComponentSignalType type) {
        this.type = type;
    }
}
